magnify: check the image conversion worked
authorSteve Lhomme <robux4@ycbcr.xyz>
Thu, 18 Jul 2024 07:23:58 +0000 (09:23 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Fri, 7 Mar 2025 06:31:22 +0000 (07:31 +0100)
commitd81fbcb8fdec4ceb1ce6cc95f2580b4ab498c7cb
tree0cc754915f9820896ddec22187138fcb27080324
parenta446bc2c99ba21b6b88bf54f4d0650f2b569d7e8
magnify: check the image conversion worked

return NULL on failure as we cannot produce the required output.

Fixes #28707

(cherry picked from commit 990de75bc0a7db5f2c4e4cb88e868b75b689ac7d) (rebased)
rebased:
- picture_CopyPixels is called picture_CopyVisiblePixels on 4.0
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Gbp-Pq: Name 0018-magnify-check-the-image-conversion-worked.patch
modules/video_filter/magnify.c